<?php

define('xpfwPath', './xpfw/');
define('phpPath', './php/');

// define uri root
define('siteRoot', '/laiss');

// define environment
switch ($_SERVER['SERVER_NAME']) {
    case 'localhost':
        define('environment', 'development');
        break;
    case 'laiss.eteot.com':
        define('environment', 'test');
        break;
    case 'www.ensp.fiocruz.br':
    case 'ensp.fiocruz.br':
        define('environment', 'production');
        break;
}

require xpfwPath . 'application.php';
?>
